#include <string>
#include <sstream>

template <class T>
T conv2Num (std::string inValue) 
{
	std::istringstream lConverter(inValue);
	T lOut;
	lConverter>>lOut;
	return lOut;
}
	
template <class T>
std::string conv2Str(T inValue)
{
	std::ostringstream lConverter;
	lConverter<<inValue;
	return lConverter.str();
}